const base = "/";
const routers = [
    {
        name: 'Home',
        url: 'Home/Home.vue'
    },
    {
        name: 'Mine',
        url: 'Mine/Mine.vue'
    },

];

let routersMap = {};

routers.map((v) => {
    let keyValue = {};
    let value = `${base}${v.name}`
    keyValue['path'] = value;

    let key = v.name;
    routersMap[key] = keyValue;
});
export { routers, base, routersMap }